﻿<UserControl
	x:Class="TestGUI.Page3"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:me="clr-namespace:TestGUI" mc:Ignorable="d"
	d:DesignHeight="150" 
	d:DesignWidth="300"
>
	<UserControl.DataContext>
		<me:Page3ViewModel/>
	</UserControl.DataContext>

	<Border Background="AliceBlue">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto" />
				<RowDefinition Height="Auto" />
				<RowDefinition Height="Auto" />
				<RowDefinition Height="Auto" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="100" />
				<ColumnDefinition />
			</Grid.ColumnDefinitions>

			<TextBlock Text="Page3" Grid.ColumnSpan="2" />

			<TextBlock Text="ExchangeData" Grid.Row="1" />
			<TextBox Text="{Binding ExchangeData, Mode=TwoWay}" Grid.Row="1" Grid.Column="1" />

			<TextBlock Text="PrivateData" Grid.Row="2" />
			<TextBox Text="{Binding PrivateData, Mode=TwoWay}" Grid.Row="2" Grid.Column="1" />

			<Button Content="Send Notification" Command="{Binding CommandNotify}" Grid.Row="3" Grid.ColumnSpan="2" />
		</Grid>
	</Border>
</UserControl>